package com.ensah.metier.bo;

import java.util.Date;
import java.util.List;

public class Etudiant extends Utilisateur {
	
    private int numEtd;
	private String cne;
	private Classe classe;
	private List<Absence> absences;
	private List<Attestation> attestations;
	public Etudiant(){
		
	}

	public Etudiant(String nom,String prenom,String cin,String adresse,String tel,String email,Date dateNaiss,String login,String password,Role role,boolean enabled,boolean accountLocked,boolean accountExpired,boolean sexe,int numEtd, String cne, Classe classe,List<Absence> abs,List<Attestation> attest) {
		super(nom, prenom, cin, adresse, tel, email, dateNaiss, login, password, role, enabled, accountLocked, accountExpired,sexe);
		this.numEtd = numEtd;
		this.cne = cne;
		this.classe = classe;
		absences=abs;
		attestations=attest;
	}

	
	public int getNumEtd() {
		return numEtd;
	}

	public void setNumEtd(int numEtd) {
		this.numEtd = numEtd;
	}

	public String getCne() {
		return cne;
	}

	public void setCne(String cne) {
		this.cne = cne;
	}

	public Classe getClasse() {
		return classe;
	}

	public void setClasse(Classe classe) {
		this.classe = classe;
	}

	public List<Absence> getAbsences() {
		return absences;
	}

	public void setAbsences(List<Absence> absences) {
		this.absences = absences;
	}

	public void setAttestations(List<Attestation> attestations) {
		this.attestations = attestations;
	}

	public List<Attestation> getAttestations() {
		return attestations;
	}

	
	


	
}
